package org.example.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName("access_control_device")
public class Access {
    @TableId(type = IdType.AUTO)
    private Long id;
    private String principal;
    private String supplier;
    private String brand;
    @TableField(value = "hospital_id")
    private int  hospitalId;
    private int status;
    @TableField(value = "add_name")
    private Date addName;
}
